import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { SharedModule } from '@shared/shared.module';

// import { BaiduMapModule } from 'angular2-baidu-map';

import { FileUploadModule } from 'ng2-file-upload';


import { MonitoringmapRoutingModule } from './monitoringmap-routing.module';
// import { MapComponent } from './map/map.component';

/*
import { WaterWindowComponent } from './map/water-window.component';
*/

import { UploadDataComponent } from './map/upload-data.component';
import { WaterDataComponent } from './water-data/water-data.component';
import { WdcListComponent } from './wdc-list/wdc-list.component';
import { UploadModelComponent } from './water-data/upload-model.component';

import { TiandituModule } from './../../tianditu/tianditu.map.module';

@NgModule({
  imports: [
    CommonModule,
    SharedModule,
    MonitoringmapRoutingModule,
    FileUploadModule,
    TiandituModule.forRoot({ak: 'p3HIQIqLqKVQOXao1IiLp5O0eTFakjEP'})
  ],
  declarations: [
      // MapComponent,
      // WaterWindowComponent,
      UploadDataComponent,
      WaterDataComponent,
      WdcListComponent,
      UploadModelComponent
    ],
    entryComponents: [
        UploadDataComponent,
        UploadModelComponent
    ]
})
export class MonitoringmapModule { }
